#include <iostream>
using namespace std;

//可变参数模板
template<class ...Args>
void print(Args... args)
{
    cout << sizeof...(args) << endl;
}

int main()
{
    print(1);
    print(1, 2, 3);
    print('a', "xxxx", 3.5, 9);
    return 0;
}